package com.csun.dsms.service;

import com.alibaba.fastjson.JSONObject;
import com.csun.dsms.comment.core.utils.wrapper.Wrapper;
import com.csun.dsms.model.huang.*;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

public interface IhgDataProcessService {
    IhgUser loginCheck(String iHgToken);
    IhgUser loginByPhone(String phone);

    Wrapper queryGovernmentData(PageParameter<IhgGovernmentServiceBean> ihgGovernmentServiceBeanPage);
    PageInfo queryGovernmentPage(IHgQueryDto iHgQueryDto);
    PageInfo querySocialPage(IHgQueryDto iHgQueryDto);

    Wrapper addGovernmentData(IhgGovernmentServiceBean ihgGovernmentServiceBean);

    Wrapper updateGovernmentData(IhgGovernmentServiceBean ihgGovernmentServiceBean);

    Wrapper deleteGovernmentData(IhgGovernmentServiceBean ihgGovernmentServiceBean);

    Wrapper querySocialData(PageParameter<IhgSocialServiceBean> ihgSocialServiceBeanPage);

    Wrapper addSocialData(IhgSocialServiceBean ihgSocialServiceBean);

    Wrapper updateSocialData(IhgSocialServiceBean ihgSocialServiceBean);

    Wrapper deleteSocialData(IhgSocialServiceBean ihgSocialServiceBean);

    Wrapper queryStatistical(JSONObject reqJson);

    Wrapper importGovernmentData(MultipartFile file,String userName);

    Wrapper importSocialData(MultipartFile file,String userName);

    Wrapper querySocialStatistical(JSONObject reqJson);

    Wrapper queryGovernmentStatistical(JSONObject reqJson);

    Wrapper queryGovernmentDepartStatistical(JSONObject reqJson);

    Wrapper queryGovernmentStatisticalByProjectName(JSONObject reqJson);

    Wrapper querySocialStatisticalByProjectName(JSONObject reqJson);

    PageInfo querySocialLastDay(IHgQueryDto iHgQueryDto);

    PageInfo queryGovLastDay(IHgQueryDto iHgQueryDto);
}
